import { FormSchema } from '/@/components/BasicForm/type/form';

export const appSchemas: FormSchema = [
  {
    field: 'programName',
    label: '应用程序名称',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入应用名称',
    },
    labelWidth: 150,
    colProps: { span: 24 },
    required: true,
  },
  {
    field: 'programVersion',
    label: '版本',
    component: 'Input',
    labelWidth: 150,
    componentProps: {
      placeHolder: '请输入版本',
    },
    colProps: { span: 24 },
    required: true,
  },
  {
    field: 'programUrl',
    label: '安装包下载地址',
    component: 'Input',
    labelWidth: 150,
    componentProps: {
      placeHolder: '请输入安装包下载地址',
    },
    colProps: { span: 24 },
    required: true,
  },
  {
    field: 'programDir',
    label: '安装目录',
    component: 'Input',
    componentProps: {
      placeHolder: '安装目录',
    },
    labelWidth: 150,
    colProps: { span: 24 },
    required: true,
  },
];
